package com.cqq.common.core.protocol;

import java.util.Map;

public abstract class RequestBean {

	private Protocol protocol;
	
	private String address;
	
	private int timeout;
	
	private long delaytime;
	
	private Object data;
	
	private String charset="UTF-8";
	
	private Map<String,Object> holderMap;

	public Protocol getProtocol() {
		return protocol;
	}

	public void setProtocol(Protocol protocol) {
		this.protocol = protocol;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public int getTimeout() {
		return timeout;
	}

	public void setTimeout(int timeout) {
		this.timeout = timeout;
	}

	public long getDelaytime() {
		return delaytime;
	}

	public void setDelaytime(long delaytime) {
		this.delaytime = delaytime;
	}

	public Object getData() {
		return data;
	}

	public void setData(Object data) {
		this.data = data;
	}

	public String getCharset() {
		return charset;
	}

	public void setCharset(String charset) {
		this.charset = charset;
	}

	public Map<String, Object> getHolderMap() {
		return holderMap;
	}

	public void setHolderMap(Map<String, Object> holderMap) {
		this.holderMap = holderMap;
	}
	
}
